package 泛型;

import java.lang.reflect.Field;

public class Point6<T,E extends Number> {
    T t;
    E e;

    public static void main(String[] args) {
        Point6<String,Integer> img = new Point6<>();
        Class  aClass = img.getClass();
        Field[] fields = aClass.getDeclaredFields();
        for (Field f:fields
             ) {
            System.out.println(f.getType());
        }
    }
}
